package map;

import java.util.HashMap;
import java.util.LinkedHashMap;

public class LinkedHashMapDemo {
    public static void main(String[] args) {
        HashMap<String,Integer> map = new LinkedHashMap<>(10,0.8f,true);
        map.put("chinese",76);
        map.put("math",87);
        map.put("English",91);
        map.put("history",86);
        System.out.println(map);
    }
}
